package com.ruoyi.my.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 用户历史照片对象 cf_user_image
 * 
 * @author shenshen
 * @date 2024-06-05
 */
public class CfUserImage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键、自增 */
    private Long userImageId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 用户头像 */
    @Excel(name = "用户头像")
    private String photo;

    public void setUserImageId(Long userImageId) 
    {
        this.userImageId = userImageId;
    }

    public Long getUserImageId() 
    {
        return userImageId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setPhoto(String photo) 
    {
        this.photo = photo;
    }

    public String getPhoto() 
    {
        return photo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userImageId", getUserImageId())
            .append("userId", getUserId())
            .append("photo", getPhoto())
            .toString();
    }
}
